//
//  SYBaiBanModel.m
//  SanYiTeaching
//
//  Created by 郑浩然 on 2019/12/25.
//  Copyright © 2019年 SanYi. All rights reserved.
//

#import "SYBaiBanModel.h"

@implementation SYBaiBanModel

+ (NSMutableArray *)iconImageArr {
    NSMutableArray *arr = [NSMutableArray array];
    NSArray *iconImageArr = @[@"baiban_xinjian",
                              @"baiban_yidong",
                              @"baiban_huabi",
                              @"baiban_huabise",
                              @"baiban_wenzi",
                              @"baiban_xiangpi",
                              @"baiban_gongju",
//                              @"baiban_wangge",
                              @"baiban_wenjian",
                              @"baiban_tupian",
                              @"baiban_qingkong"];
    NSArray *selectImageArr = @[@"baiban_select_xinjian",
                                @"baiban_select_yidong",
                                @"baiban_select_huabi",
                                @"baiban_huabise",
                                @"baiban_select_wenzi",
                                @"baiban_select_xiangpi",
                                @"baiban_select_gongju",
//                                @"baiban_select_wangge",
                                @"baiban_select_wenjian",
                                @"baiban_select_tupian",
                                @"baiban_select_qingkong"];
    [iconImageArr enumerateObjectsUsingBlock:^(NSString  *obj, NSUInteger idx, BOOL * _Nonnull stop) {
        SYBaiBanModel *bbModel = [[SYBaiBanModel alloc] init];
        bbModel.iconImage = obj;
        bbModel.indexTag = idx;
        NSString *imName = selectImageArr[idx];
        bbModel.selectIconImage = imName;
        [arr addObject:bbModel];
    }];
    
    return arr;
}



@end


@implementation SYBaiBanTopModel

@end
